<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>党建后台</title>
    <meta name="keywords"  />
    <meta name="description"  />
    <link rel="stylesheet" type="text/css" href="__ROOT__/Public/layui/css/layui.css" />
    <link rel="stylesheet" type="text/css" href="__ROOT__/Public/bootstrap/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="__ROOT__/Public/Admin/Css/identify.css" />
    <link rel="stylesheet" type="text/css" href="__ROOT__/Public/Admin/Css/layout.css" />
    <link rel="stylesheet" type="text/css" href="__ROOT__/Public/Admin/Css/account.css" />
    <link rel="stylesheet" type="text/css" href="__ROOT__/Public/Admin/Css/style.css" />
    <link rel="stylesheet" type="text/css" href="__ROOT__/Public/Admin/Css/control_index.css" />
    <link rel="stylesheet" type="text/css" href="__ROOT__/Public/Admin/Css/index.css" />

    <link rel="stylesheet" type="text/css" href="__ROOT__/Public/Admin/Css/page.css" />

    <script type="text/javascript" src="__ROOT__/Public/Admin/Js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="__ROOT__/Public/layui/layui.js"></script>
    <script type="text/javascript" src="__ROOT__/Public/Admin/Js/layer/layer.js"></script>
    <script type="text/javascript" src="__ROOT__/Public/Admin/Js/haidao.offcial.general.js"></script>
    <script type="text/javascript" src="__ROOT__/Public/Admin/Js/select.js"></script>
    <script type="text/javascript" src="__ROOT__/Public/Admin/Js/haidao.validate.js"></script>

    <script type="text/javascript" charset="utf-8" src="__ROOT__/Public/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="__ROOT__/Public/ueditor/ueditor.all.min.js"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="__ROOT__/Public/ueditor/lang/zh-cn/zh-cn.js"></script>
</head>
<block name="body">
<body>
<block name="content">
<div class="view-topbar">
    <div class="topbar-console">
        <div class="tobar-head fl">
            <!--<a href="#" class="topbar-logo fl">-->
                <!--<span><img src="__ROOT__/Public/Admin/Images/logo.png" width="20" height="20"/></span>-->
            <!--</a>-->
            <a href="{{:U('Index/index')}}" class="topbar-home-link topbar-btn text-center fl"><span>管理控制台</span></a>

        </div>
    </div>
    <div class="topbar-info">
        <ul class="fr">
            <!--<li class="fl dropdown topbar-notice topbar-btn">-->
                <!--<a href="#" class="dropdown-toggle">-->
                    <!--<span class="icon-notice"></span>-->

                    <!--&lt;!&ndash;have表示有消息，没有消息去掉have&ndash;&gt;-->
                <!--</a>-->
            <!--</li>-->
            <!--<li class="fl dropdown topbar-notice topbar-btn">-->
                <!--<a href="__ROOT__" class="topbar-btn"><span class="fl text-normal">前台首页</span></a>-->
            <!--</li>-->

            <li class="fl topbar-info-item">
                <div class="dropdown">
                    <a href="#" class="topbar-btn">
                        <span class="fl text-normal">{{$Think.session.admin.name}}</span>
                        <span class="icon-arrow-down"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="{{:U('Login/loginout')}}">退出</a></li>
                    </ul>
                </div>
            </li>
        </ul>
    </div>
</div>
<div class="view-body">
    <div class="view-sidebar">
        <div class="sidebar-content">
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="#">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">党员管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;" >
                    <li>
                        <a href="{{:U('User/index')}}" target="footframe">
                            <b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">党员列表</span>
                        </a>
                    </li>
                    <li>
                        <a href="{{:U('User/userCatePower')}}" target="footframe">
                            <b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">党员类型权限列表</span>
                        </a>
                    </li>

                </ul>
            </div>
            <!--<div class="sidebar-nav sidebar-nav-fold">-->
                <!--<div class="sidebar-title">-->
                    <!--<a href="#">-->
                        <!--<span class="icon"><b class="fl icon-arrow-down"></b></span>-->
                        <!--<span class="text-normal">账号级别管理</span>-->
                    <!--</a>-->
                <!--</div>-->
                <!--<ul class="sidebar-trans"style="overflow: hidden; display: none;">-->
                    <!--<li>-->
                        <!--<a href="{{:U('Goods/index')}}" target="footframe">-->
                            <!--<b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>-->
                            <!--<span class="text-normal">产品列表</span>-->
                        <!--</a>-->
                    <!--</li>-->

                <!--</ul>-->
            <!--</div>-->
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="#">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">首页banner管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;">
                    <li>
                        <a href="{{:U('Banner/index')}}" target="footframe">
                            <b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">banner图片</span>
                        </a>
                    </li>
                </ul>
            </div>
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="#">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">支部动态和两学一做</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;">
                    <li>
                        <a href="{{:U('Article/sort')}}" target="footframe">
                            <b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">两学一做分类管理</span>
                        </a>
                    </li>
                    <li>
                        <a href="{{:U('Article/index')}}" target="footframe">
                            <b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">文章列表</span>
                        </a>
                    </li>
                    <!--<li>-->
                        <!--<a href="{{:U('Article/addArt')}}" target="footframe">-->
                            <!--<b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>-->
                            <!--<span class="text-normal">支部动态发布</span>-->
                        <!--</a>-->
                    <!--</li>-->
                    <!--<li>-->
                        <!--<a href="{{:U('Article/addArtc')}}" target="footframe">-->
                            <!--<b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>-->
                            <!--<span class="text-normal">两学一做发布</span>-->
                        <!--</a>-->
                    <!--</li>-->
                </ul>
            </div>
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="#">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">党员交流互动管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;">
                    <li>
                        <a href="{{:U('Communicate/cateList')}}" target="footframe">
                            <b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">文章分类列表</span>
                        </a>
                    </li>
                    <li>
                        <a href="{{:U('Communicate/index')}}" target="footframe">
                            <b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">文章列表</span>
                        </a>
                    </li>
                </ul>
            </div>
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="#">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">评论管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;">
                    <li>
                        <a href="{{:U('Comment/index')}}" target="footframe">
                            <b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">评论列表</span>
                        </a>
                    </li>
                </ul>
            </div>
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="#">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">党费管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;">
                    <!--<li>-->
                        <!--<a href="{{:U('Fee/index')}}" target="footframe">-->
                            <!--<b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>-->
                            <!--<span class="text-normal">党费总额</span>-->
                        <!--</a>-->
                    <!--</li>-->

                    <li>
                        <a href="{{:U('Fee/totalFee')}}" target="footframe">
                            <b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">党费缴纳记录</span>
                        </a>
                    </li>
                </ul>


            </div>
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="#">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">捐款管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;">
                    <li>
                        <a href="{{:U('Donation/itemList')}}" target="footframe">
                            <b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">捐款项目管理</span>
                        </a>
                    </li>

                    <li>
                        <a href="{{:U('Donation/index')}}" target="footframe">
                            <b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">捐款记录</span>
                        </a>
                    </li>
                </ul>


            </div>
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="javascript:;">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">组织关系转出管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;">
                    <li>
                        <a href="{{:U('Application/index')}}"  target="footframe">
                            <b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">申请记录</span>
                        </a>
                    </li>
                </ul>


            </div>
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="javascript:;">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">管理员权限管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;" >
                    <li>
                        <a href="{{:U('User/adminUserList')}}"  target="footframe">
                            <b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">管理员列表</span>
                        </a>
                    </li>
                    <!--<li>-->
                        <!--<a href="{{:U('User/add')}}" target="footframe">-->
                            <!--<b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>-->
                            <!--<span class="text-normal">添加管理员</span>-->
                        <!--</a>-->
                    <!--</li>-->
                    <li>
                        <a href="{{:U('User/sortPower')}}" target="footframe">
                            <b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">普通管理员权限管理</span>
                        </a>
                    </li>
                    <li>
                        <a href="{{:U('User/power')}}" target="footframe">
                            <b class="sidebar-icon"><img src="__ROOT__/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">权限列表</span>
                        </a>
                    </li>
                </ul>

            </div>
            </div>
        </div>
    </div>
    <block name="box">
        <div class="view-product" style="margin-top: 50px">
            <iframe src="{{:U('User/adminUserList')}}" name="footframe" id="iframepage" frameborder="0" scrolling="auto" marginheight="0" marginwidth="0" width="100%" height="100%"  ></iframe>
            <!--<iframe src="{{:U('User/adminUserList')}}" name="footframe" id="iframepage" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" onLoad="iFrameHeight()" width="100%" height="100%"></iframe>-->
        </div>

    </block>
</div>
</block>
<script>
    function iFrameHeight(f) {
        // f.src
        // var iframeWindow = document.getElementById('iframepage').contentWindow;
        // var currentHref = iframeWindow.document.location.href;
        // console.log(currentHref);
        var ifm= document.getElementById("iframepage");
        var subWeb = document.frames ? document.frames["iframepage"].document : ifm.contentDocument;
        if(ifm != null && subWeb != null) {
            ifm.height = subWeb.body.scrollHeight;
            ifm.width = subWeb.body.scrollWidth;
        }
    }

    function prev(){
        window.location.href = document.getElementById('iframepage').previousSrc;
    }
    // window.location.replace($("#iframepage").src());
    // window.location.href = $("#iframepage").src();
    // var ifm= document.getElementById("iframepage");
    // ifm.height=document.documentElement.clientHeight;
    $(".sidebar-title").live('click', function() {
        if ($(this).parent(".sidebar-nav").hasClass("sidebar-nav-fold")) {
            $(this).next().slideDown(200);
            $(this).parent(".sidebar-nav").removeClass("sidebar-nav-fold");
            $(this).parent(".sidebar-nav").siblings(".sidebar-nav").addClass("sidebar-nav-fold");
            $(this).parent(".sidebar-nav").siblings(".sidebar-nav").children(".sidebar-title").next().slideUp(200);
        } else {
            $(this).next().slideUp(200);
            $(this).parent(".sidebar-nav").addClass("sidebar-nav-fold");
        }
    });
</script>
</body>
</block>
</html>